<template>
    <div class="home">
        <v-main-tab ref="mainTab" @touchmove.native.prevent></v-main-tab>
        <keep-alive>
          <router-view></router-view>
        </keep-alive>
    </div>
</template>

<script>
import vMainTab from "./mainTab.vue";
import { mapState } from "vuex";

export default {
  data() {
    return {
      tourls: ""
    };
  },
  components: {
    vMainTab
  },
  activated() {},
  created() {},
  computed: {
    ...mapState(["openid", "path"])
  },
  methods: {},
  mounted() {
    //this.$refs.mainTab.menuItemClick(0);
  }
};
</script>
<style lang="stylus" rel="stylesheet/stylus">
.home {
  height: 100%;
}
</style>
